<html>
<head><meta charset="utf-8"><title>MaybeUninit and deprecating mem::uninitialized · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html">MaybeUninit and deprecating mem::uninitialized</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="164741180"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164741180" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164741180">(May 02 2019 at 20:10)</a>:</h4>
<p>Hey <span class="user-mention" data-user-id="120791">@RalfJ</span> -- we (lang team) were thinking that it could be good with a blog post about <code>MaybeUninit&lt;T&gt;</code> and the deprecation of <code>mem::uninitialized</code>; like why we are deprecating and what the better safer pattern is. We thought you might be a good person to write such a post. cc <span class="user-mention" data-user-id="116009">@nikomatsakis</span></p>



<a name="164742275"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164742275" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164742275">(May 02 2019 at 20:24)</a>:</h4>
<p>lol, now I see what you meant <span class="user-mention" data-user-id="126931">@centril</span> about both of us posting in different places :)</p>



<a name="164742278"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164742278" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164742278">(May 02 2019 at 20:24)</a>:</h4>
<p>feel free to answer exactly once <span class="user-mention" data-user-id="120791">@RalfJ</span> :)</p>



<a name="164742285"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164742285" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164742285">(May 02 2019 at 20:24)</a>:</h4>
<p>:D</p>



<a name="164742311"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164742311" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164742311">(May 02 2019 at 20:25)</a>:</h4>
<p>if you like me more, you'll do it in <a class="stream" data-stream-id="136281" href="/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines">#t-lang/wg-unsafe-code-guidelines</a>. If you like <span class="user-mention" data-user-id="126931">@centril</span> more...</p>



<a name="164919343"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164919343" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164919343">(May 05 2019 at 13:24)</a>:</h4>
<p>read this after replying there. I have t-compiler muted, too much stuff going on here^^</p>



<a name="164919432"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164919432" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164919432">(May 05 2019 at 13:27)</a>:</h4>
<p>does zulip not have "only notify for topics I am in"?</p>



<a name="164919860"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164919860" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> detrumi <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164919860">(May 05 2019 at 13:39)</a>:</h4>
<p>No, but you can mute all new topics you're not interested in instead</p>



<a name="164919865"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164919865" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164919865">(May 05 2019 at 13:40)</a>:</h4>
<p>yeah that's not realistic by far</p>



<a name="164919913"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164919913" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164919913">(May 05 2019 at 13:40)</a>:</h4>
<p>we have, like, hundreds of topics, maybe even thousands</p>



<a name="164919916"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164919916" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164919916">(May 05 2019 at 13:40)</a>:</h4>
<p>and the "unread" state is kind of useless anyway</p>



<a name="164919928"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164919928" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164919928">(May 05 2019 at 13:41)</a>:</h4>
<p>I need to build a dashboard to triage past conversations, which should be more possible with Zulip than Discord, but atm I'm assuming if something was said and I wasn't mentioned, it doesn't matter</p>



<a name="164923196"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/MaybeUninit%20and%20deprecating%20mem%3A%3Auninitialized/near/164923196" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> detrumi <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/MaybeUninit.20and.20deprecating.20mem.3A.3Auninitialized.html#164923196">(May 05 2019 at 15:04)</a>:</h4>
<p>One thing you can do is star messages you need to get back to, that also helps a bit</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>